package com.cn.controller.grzx;
import java.io .IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cn.controller.BaseServlet;
import com.cn.entity.grzx_page_entity;
import com.cn.service.grzx_pageControl;


@WebServlet("/grzx")
public class grzx extends BaseServlet {
	private grzx_pageControl gpc;
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		gpc = new grzx_pageControl();
		List<grzx_page_entity> list = gpc.getMemberInfo("方");
		req.setAttribute("list", list);
		forward("grzx/grzx");
	}
}